package org.example.demo15_command.demo1;


import org.example.demo15_command.demo1.AbstractCommand;

public class FanCloseCommand implements AbstractCommand {
    private Fan fan;
    public FanCloseCommand(){
        this.fan = new Fan();
    }
    @Override
    public void execute(){
        fan.close();
    }
}
